package com.example.knowledgeget1.KnowtCommon.Entity;

import jakarta.persistence.Embeddable;

import java.io.Serializable;

@Embeddable
public class LikeId implements Serializable {
    private Long stuId;
    private Long knowId;

    public LikeId(Long stuId, Long knowId) {
        this.stuId = stuId;
        this.knowId = knowId;
    }

    public LikeId() {

    }

    // 构造函数、getters 和 setters
}